package com.dream.master.service;

import java.util.List;

import com.dream.model.app.AppAbstractUser;
import com.dream.model.master.ProductCategory;
import com.dream.vo.base.TreeNodeVO;

public interface ProductCategoryService {
	
	ProductCategory getCategory(final Long checkedId);
	
	ProductCategory getChildrens(final Long parentId);
	
	void updateCategory(final TreeNodeVO vo,final AppAbstractUser user);
	
	void deleteCategory(final Long id,final AppAbstractUser user);
	
	List<Long> getCats(String first,String second);
	
	List<ProductCategory> getParent(final Long id);
	
}
